package cn.stylefeng.guns.modular.basic.mapper;

import cn.stylefeng.guns.modular.basic.entity.BasicLinePrice;
import cn.stylefeng.guns.modular.basic.model.params.BasicLinePriceParam;
import cn.stylefeng.guns.modular.basic.model.result.BasicLinePriceResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 承运报价表 Mapper 接口
 * </p>
 *
 * @author zhucx
 * @since 2021-07-29
 */
public interface BasicLinePriceMapper extends BaseMapper<BasicLinePrice> {

    /**
     * 获取列表
     *
     * @author zhucx
     * @Date 2021-07-29
     */
    List<BasicLinePriceResult> customList(@Param("paramCondition") BasicLinePriceParam paramCondition);

    /**
     * 获取map列表
     *
     * @author zhucx
     * @Date 2021-07-29
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") BasicLinePriceParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author zhucx
     * @Date 2021-07-29
     */
    Page<BasicLinePriceResult> customPageList(@Param("page") Page page, @Param("paramCondition") BasicLinePriceParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author zhucx
     * @Date 2021-07-29
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") BasicLinePriceParam paramCondition);

	List<BasicLinePriceResult> findListBySpec(@Param("paramCondition")BasicLinePriceParam param);

    List<BasicLinePriceResult> getlineprice(@Param("paramCondition")BasicLinePriceParam param);

    List<BasicLinePriceResult> getCarrierNulllineprice(@Param("paramCondition")BasicLinePriceParam param);
}
